//导入自己的css
require('../css/advertisement.css')

let num = 5;
setInterval(function(){
    num--;
    if(num == 0){
        location.href = './login.html';
    }
    document.querySelector('main div .time').textContent = num;
},1000);

document.querySelector('main div').addEventListener('click',function(){
    location.href = './login.html'
})


